-
Home
-
aBlocks – WordPress Gutenberg Blocks
-
2.4.0
-
Code
-
Classes
- FileUpload
| Total Complexity |
29 |
| Dependencies |
0 |
| Dependents |
5 |
| Total lines |
148 |
| Lines of code |
119 |
| Logical lines of code |
77 |
| Comment lines |
3 |
| Methods |
11 |
| Properties |
0 |
Methods 11
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| upload_file() |
A |
46 |
9 |
37 |
| delete_files() |
S |
56 |
5 |
18 |
| delete_file() |
S |
58 |
4 |
15 |
| create_folder() |
S |
63 |
3 |
11 |
| has_upload_file() |
S |
65 |
2 |
9 |
| create_file() |
S |
72 |
1 |
5 |
| get_file_data() |
S |
71 |
1 |
6 |
| get_file_path() |
S |
79 |
1 |
3 |
| get_file_url() |
S |
79 |
1 |
3 |
| get_upload_url() |
S |
70 |
1 |
6 |
| get_upload_dir() |
S |
71 |
1 |
6 |